﻿@model SecsaMvcApplication.Models.Paciente

@{
    ViewBag.Title = "Edição de Cadastro";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<section>
    <div class="page-header">
        <h1>Pacientes</h1>
        <div>
            @Html.ActionLink("Voltar para Lista", "Index")
        </div>
    </div>
<div class="row-fluid m-fluid">
    <div class="span12 m-widget">
        <div class="m-widget-body">
			@using (Html.BeginForm()) {
				@Html.ValidationSummary(true)

				<fieldset>
					<legend>Edição de Cadastro</legend>

							@Html.HiddenFor(model => model.Id)

							<div class="editor-label">
								@Html.LabelFor(model => model.DataCadastro)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.DataCadastro)
								@Html.ValidationMessageFor(model => model.DataCadastro)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Nome)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Nome)
								@Html.ValidationMessageFor(model => model.Nome)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Rg)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Rg)
								@Html.ValidationMessageFor(model => model.Rg)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Cpf)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Cpf)
								@Html.ValidationMessageFor(model => model.Cpf)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.RegistroNascimento)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.RegistroNascimento)
								@Html.ValidationMessageFor(model => model.RegistroNascimento)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.RegistroSus)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.RegistroSus)
								@Html.ValidationMessageFor(model => model.RegistroSus)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Profissao)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Profissao)
								@Html.ValidationMessageFor(model => model.Profissao)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Telefone1)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Telefone1)
								@Html.ValidationMessageFor(model => model.Telefone1)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Telefone2)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Telefone2)
								@Html.ValidationMessageFor(model => model.Telefone2)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.DataNascimento)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.DataNascimento)
								@Html.ValidationMessageFor(model => model.DataNascimento)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Sexo)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Sexo)
								@Html.ValidationMessageFor(model => model.Sexo)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.EstadoCivil)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.EstadoCivil)
								@Html.ValidationMessageFor(model => model.EstadoCivil)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.TipoSangue)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.TipoSangue)
								@Html.ValidationMessageFor(model => model.TipoSangue)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.NomePai)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.NomePai)
								@Html.ValidationMessageFor(model => model.NomePai)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.FonePai)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.FonePai)
								@Html.ValidationMessageFor(model => model.FonePai)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.NomeMae)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.NomeMae)
								@Html.ValidationMessageFor(model => model.NomeMae)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.FoneMae)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.FoneMae)
								@Html.ValidationMessageFor(model => model.FoneMae)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.GrauInstrucao)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.GrauInstrucao)
								@Html.ValidationMessageFor(model => model.GrauInstrucao)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Responsavel)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Responsavel)
								@Html.ValidationMessageFor(model => model.Responsavel)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.TelefoneResponsavel)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.TelefoneResponsavel)
								@Html.ValidationMessageFor(model => model.TelefoneResponsavel)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Logradouro)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Logradouro)
								@Html.ValidationMessageFor(model => model.Logradouro)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Bairro)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Bairro)
								@Html.ValidationMessageFor(model => model.Bairro)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Complemento)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Complemento)
								@Html.ValidationMessageFor(model => model.Complemento)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Cidade)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Cidade)
								@Html.ValidationMessageFor(model => model.Cidade)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Uf)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Uf)
								@Html.ValidationMessageFor(model => model.Uf)
							</div>

							<div class="editor-label">
								@Html.LabelFor(model => model.Cep)
					        </div>
							<div class="editor-field">
					            @Html.EditorFor(model => model.Cep)
								@Html.ValidationMessageFor(model => model.Cep)
							</div>

					<div class="form-actions">
						<button type="submit" class="btn btn-success">Concluir</button>
						@Html.ActionLink("Cancelar", "Index", new { }, new { @class = "btn" })
					</div>
				</fieldset>
			}
			</div>
		</div>
	</div>
</section>
